package org.springblade.modules.repair.vo;

import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zcc
 * @version 1.0
 * @date 2023/5/25 9:38
 */
@Data
public class PlanInfoDownExcelVO {

	@ApiModelProperty(value = "租户名称")
	private String tenantName;

	@ApiModelProperty(value = "项目名称")
	private String buildingName;

	@ApiModelProperty(value = "电梯地址")
	private String elevatorAddress;

	@ApiModelProperty(value = "计划日期")
	private String planDate;
	private Date workDate;

	@ApiModelProperty(value = "单位内编号")
	private String registerNumber;

	@ApiModelProperty(value = "登记证编号")
	private String equipmentRegisterNumber;

	@ApiModelProperty(value = "设备代码")
	private String privateNum;

	@ApiModelProperty(value = "维保员信息")
	private String maintainUser;
	public void setPlanDate(String planDate) {
		this.planDate = DateUtil.format(DateUtil.parse(planDate,"yyyy-MM-dd"),"yyyy/MM/dd");
	}
}
